<div class="main" id="DeveloperLogin">
    <div class="header">
        <div class="container">
            <div class="pull-left logo">
                <a ui-sref="DeveloperIndex.Home">
                    <img ng-src="{{imgApi+'logo/logo.png'}}" onerror="javascript:this.src='src/imgs/logo.png';"/>
                    <span>开放平台</span>
                </a>
            </div>
        </div>
    </div>
    <div class="container main-container">
        <div class="col-md-6">
            <img src="src/imgs/login-bg.png"/>
        </div>
        <div class="col-md-6">
            <div class="login-box pull-right">
                <div class="h3" style="margin-left:-15px;">账号登录 <span>| Account Login</span></div>
                <form class="form-horizontal" method="post" name="Form" novalidate="novalidate"
                      ng-submit="login(user)">
                    <div class="form-group has-feedback"
                         ng-class="{'has-success':Form.loginCode.$valid,'has-error':Form.loginCode.$invalid && Form.loginCode.$dirty}">
                        <!--<label class="col-md-2 control-label"><em class="must-point">*</em>联系电话:</label>-->
                        <input type="text" class="form-control" name="loginCode" placeholder="请输入登录帐户" required
                               ng-model='user.loginCode'>
                        <span class="glyphicon form-control-feedback" aria-hidden="true"
                              ng-class="{'glyphicon-ok':Form.loginCode.$valid,'glyphicon-remove':Form.loginCode.$invalid&&Form.loginCode.$dirty}"></span>
                    </div>
                    <div class="form-group has-feedback"
                         ng-class="{'has-success':Form.Password.$valid,'has-error':Form.Password.$invalid&&Form.Password.$dirty}">
                        <!--<label class="col-md-2 control-label"><em class="must-point">*</em>邮箱:</label>-->
                        <input type="password" class="form-control" name="Password" placeholder="请输入账户密码" required
                               ng-model='user.password'>
                        <span class="glyphicon form-control-feedback" aria-hidden="true"
                              ng-class="{'glyphicon-ok':Form.Password.$valid,'glyphicon-remove':Form.Password.$invalid&&Form.Password.$dirty}"></span>
                    </div>
                    <div class="form-group">
                        <div class="text-center mt reg-btn">
                            <button type="submit" class="btn btn-success btn-block" ng-disabled="Form.$invalid">
                                登录
                            </button>
                        </div>
                    </div>
                </form>
                <p style="margin-left: -15px;">
                    <a ui-sref="DeveloperIndex.FindPsw">忘记密码</a>
                    <span class="pull-right">还没有账号?<a ui-sref="DeveloperIndex.Register">立即注册</a></span>
                </p>
            </div>
        </div>
    </div>
    <div class="footer">
        <div class="text-center">
            <span></span>
            <a href="">首页</a>
            <a href="">产品介绍</a>
            <a href="">新闻资讯</a>
            <a href="">招商合作</a>
            <a href="">关于我们</a>
            <span></span>
        </div>
        <div class=text-center>
            © 2017 深圳龙创软件有限公司
        </div>
    </div>
</div>